package com.tesco.entity.domin;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("yg_user")
public class YgUser extends Model<YgUser> {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    
    /** 
     *用户名 
     */
    @ApiModelProperty(value = "用户名")
    @TableField(value = "username")
    private String username;
    
    /** 
     *密码 
     */
    @ApiModelProperty(value = "密码")
    @TableField(value = "password")  
    private String password;
    
    /** 
     *手机号 
     */
    @ApiModelProperty(value = "手机号")
    @TableField(value = "phone")  
    private String phone;
    
    /** 
     *收货地址 
     */
    @ApiModelProperty(value = "收货地址")
    @TableField(value = "address")  
    private String address;
    
    /** 
     *创建日期 
     */
    @ApiModelProperty("创建日期")
    @TableField(value = "createdat")  
    private Date createdat;
    
    /** 
     *头像地址 
     */
    @ApiModelProperty("头像地址")
    @TableField(value = "headurl")  
    private String headurl;
    
    /** 
     *类型(大众/商家/送货员) 
     */
    @ApiModelProperty("类型")
    @TableField(value = "usertype")  
    private String usertype;
    
    /** 
     *姓名 
     */
    @ApiModelProperty("姓名")
    @TableField(value = "fullname")  
    private String fullname;
    
    /** 
     *余额 
     */
    @ApiModelProperty("余额")
    @TableField(value = "balance")  
    private BigDecimal balance;
    
    /** 
     *核算检测(阴性/阳性/未检测) 
     */
    @ApiModelProperty("核酸检测结果")
    @TableField(value = "hsjc")  
    private String hsjc;

    public static final String COL_ID = "id";
     
    public static final String COL_USERNAME = "username";
     
    public static final String COL_PASSWORD = "password";
     
    public static final String COL_PHONE = "phone";
     
    public static final String COL_ADDRESS = "address";
     
    public static final String COL_CREATEDAT = "createdat";
     
    public static final String COL_HEADURL = "headurl";
     
    public static final String COL_USERTYPE = "usertype";
     
    public static final String COL_FULLNAME = "fullname";
     
    public static final String COL_BALANCE = "balance";
     
    public static final String COL_HSJC = "hsjc";
     

}

